package cn.edu.scau.cmi.linhongxin.abstractFactory;

import cn.edu.scau.cmi.linhongxin.abstractFactory.Pork;

public class AonongPork extends Pork implements Aonong{
	@Override
	public String cook() {
		StringBuilder info=new StringBuilder();
		info.append(Aonong.brand).append(" ").append(super.name).append(" ").append("has been produced");
		//System.out.println(info.toString());
		return info.toString();
	}
	/*//@Override
    public void cook() {
        StringBuilder info = new StringBuilder("cook ").append(super.name)
                .append(" which is produced by ").append(Aonong.brand);
        System.out.println(info.toString());
    }*/

}
